import Taro, { Component } from '@tarojs/taro'
import { View, Text, Image,Video } from '@tarojs/components'
import './projectnotfound.css'
import { AtGrid, AtTag } from "taro-ui"
import reactMixin from 'react-mixin';
import myJs from './projectnotfoundJs.js'
import app from '../../../../main.js'

export default class ProjectNotFound extends Component {

    config = {
        navigationBarTitleText: ''
    }

    constructor() {
        super(...arguments);
        this.state = {
            title: this.$router.params.title,
            content: this.$router.params.content
        };
    }

    setNavigationBarTitle() {
        Taro.setNavigationBarTitle({title: this.state.title});
    }

    init() { 
        this.setNavigationBarTitle();
    }

    render() {
        return (
            <View>
                <View className='content'>{this.state.content}</View>
            </View>
        )
    }
}
reactMixin.onClass(ProjectNotFound, myJs);


